package com.huilian.iotbox.admin.dao;

import com.huilian.iotbox.data.dto.MemberDto;
import com.huilian.iotbox.data.vo.MemberVo;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

@Mapper
public interface MemberDao {
    Integer findMemberCountByMerchantStoreId(@Param(value = "memberDto") MemberDto memberDto, @Param(value = "merchantStoreIdList") Integer[] merchantStoreIdList);

    Integer findNewMemberByToDayAndMerchantStoreId(MemberDto memberDto, Integer[] merchantStoreIdList);


    List<MemberVo> findMemberList(MemberDto memberDto);

    Integer findCountByMerchantStoreId(@Param("startTime") String startTime,@Param("endTime") String endTime,@Param("merchantStoreId") Integer merchantStoreId);
}
